﻿using SmartWMS.Domain.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartWMS.Domain.WarehouseManage
{
    /// <summary>
    /// 入库表
    /// </summary>
    public class InWarehouse : KeyEntity
    {
        /// <summary>
        /// 入库单号
        /// </summary>
        public string? WarehousingCode { get; set; }

        /// <summary>
        /// 入库单类型
        /// </summary>
        public int WarehousingType { get; set; }

        /// <summary>
        /// 关联订单号
        /// </summary>
        public string? UnitOrderId { get; set; }

        /// <summary>
        /// 供应商编号
        /// </summary>
        public string? SupplierCode { get; set; }

        /// <summary>
        /// 供应商名称
        /// </summary>
        public string? SupplierName { get; set; }

        ///<summary>
        /// 供应商联系人
        /// </summary>
        public string? Contract { get; set; }

        ///<summary>
        /// 供应商电话
        /// </summary>
        public string? Phone { get; set; }

        ///<summary>
        /// 审核状态
        /// </summary>
        public int State { get; set; }

        ///<summary>
        /// 审批意见
        /// </summary>
        public string? Opinion { get; set; }

        ///<summary>
        /// 审核人
        /// </summary>
        public string? Reviewer { get; set; }

        ///<summary>
        /// 审核时间
        /// </summary>
        public DateTime Audittime { get; set; }

        ///<summary>
        /// 备注
        /// </summary>
        public string? Remarks { get; set; }

        ///<summary>
        /// 添加人
        /// </summary>
        public string? Creator { get; set; }

        ///<summary>
        /// 添加时间
        /// </summary>
        public DateTime CreateTime { get; set; }

    }
}
